package com.rerun.entity;


import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.rerun.common.util.JsonDateFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * The type Job feedback.
 */
@TableName("job_feedback_detail")
public class JobFeedbackDetail extends Model<JobFeedbackDetail> {

    private static final long serialVersionUID = -3000517512525003068L;
    @TableId(type = IdType.UUID)
    private String id;
    private String jobFeedId;
    private long status;
    @JsonSerialize(using=JsonDateFormat.class)
    private Date createTime;
    private String remark;

    /**
     * Gets id.
     *
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * Sets id.
     *
     * @param id the id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * Gets status.
     *
     * @return the status
     */
    public long getStatus() {
        return status;
    }

    /**
     * Sets status.
     *
     * @param status the status
     */
    public void setStatus(long status) {
        this.status = status;
    }


    /**
     * Gets create time.
     *
     * @return the create time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * Sets create time.
     *
     * @param createTime the create time
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }


    /**
     * Gets remark.
     *
     * @return the remark
     */
    public String getRemark() {
		return remark;
	}

    /**
     * Sets remark.
     *
     * @param remark the remark
     */
    public void setRemark(String remark) {
		this.remark = remark;
	}

    /**
     * Gets job feed id.
     *
     * @return the job feed id
     */
    public String getJobFeedId() {
		return jobFeedId;
	}

    /**
     * Sets job feed id.
     *
     * @param jobFeedId the job feed id
     */
    public void setJobFeedId(String jobFeedId) {
		this.jobFeedId = jobFeedId;
	}

	@Override
	public String toString() {
		return "JobFeedbackDetail [id=" + id + ", jobFeedId=" + jobFeedId + ", status=" + status + ", createTime="
				+ createTime + ", remark=" + remark + "]";
	}

}
